package com.bbzn.device.client.service;

import com.bbzn.device.client.dataobject.Group;
import com.bbzn.device.client.dto.group.GroupDTO;

import java.util.List;

public interface GroupService {


    int deleteByPrimaryKey(Long id);

    int insert(Group record);

    int insertOrUpdate(Group record);

    int insertOrUpdateSelective(Group record);

    int insertSelective(Group record);

    Group selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Group record);

    /**
     * 检查值守状态
     *
     * @return
     */
    int checkStateByImei(String imei);

    int updateByPrimaryKey(Group record);

    List<Group> findByAll(Group group);

    int updateBatch(List<Group> list);

    int updateBatchSelective(List<Group> list);

    int batchInsert(List<Group> list);

    List<Group> queryByAll(GroupDTO group);

    int batchDel(List<Long> list);
}




